package com.xijia.xj.observer.impl;

import com.alibaba.fastjson.JSONObject;
import com.xijia.xj.observer.ObServer;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;


/**
 * 观察者实现 发送短信
 */
@Slf4j
@Component
public class SMSObServer implements ObServer {
    @Override
    public void sendMsg(JSONObject jsonObject) {
        log.info("使用观察者发送短信");
    }
}
